Skip to content

refactor: clean bulk operation code quality#11

Merged
tnware merged 3 commits intomainfrom
refactor/issue-2-bulk-code-cleanup
Mar 5, 2026
Merged

refactor: clean bulk operation code quality#11
tnware merged 3 commits intomainfrom
refactor/issue-2-bulk-code-cleanup

Conversation

@tnware
Copy link
Copy Markdown
Owner

@tnware tnware commented Mar 5, 2026

Summary

  • move IntegrityError import to module scope and remove in-method imports in bulk helpers
  • remove the unnecessary queryset exists check before update in bulk unbind
  • remove broad exception wrapping in bulk helpers so non-validation errors propagate naturally
  • keep bulk operation logic and ordering unchanged

Validation

  • uv run python manage.py test

Closes #2

@tnware tnware merged commit 197e436 into main Mar 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Clean up bulk operation code quality

1 participant